
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Kiropedic &middot; {{ $title }}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- CSS -->
    {{ HTML::style('assets/css/bootstrap.css') }}
    {{ HTML::style('assets/css/admin.css') }}
    {{ HTML::style('assets/css/bootstrap-responsive.css') }}

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      {{ HTML::script('assets/script/html5shiv.js') }}
    <![endif]-->

  </head>

  <body>
    <div id="wrap">
      <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
	        <div class="container">
	          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>
	          <a class="brand" href="{{ url('admin') }}">Kiropedic</a>
	          <div class="nav-collapse collapse">
	            <ul class="nav">
	              <li class='{{ $active == 1? "active" : "" }}'><a href="{{ url('admin/list/listadmin') }}"><i class="icon-wrench icon-white"></i> Administradores</a></li>
	              <li class='{{ $active == 2? "active" : "" }}'><a href="{{ url('admin/list/listuser') }}"><i class="icon-user icon-white"></i> Clientes</a></li>
	              <li class='{{ $active == 3? "active" : "" }}'><a href="{{ url('admin/list/listoper') }}"><i class="icon-briefcase icon-white"></i> Operadores</a></li>
	              <li class='{{ $active == 4? "active" : "" }}'><a href="{{ url('admin/list/listserv') }}"><i class="icon-th icon-white"></i> Servicios</a></li>
	              <li class='{{ $active == 5? "active" : "" }}'><a href="{{ url('admin/list/listprod') }}"><i class="icon-inbox icon-white"></i> Productos</a></li>
	              <li class="dropdown">
	                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-list-alt icon-white"></i> Reportes <b class="caret"></b></a>
	                <ul class="dropdown-menu">
	                  <li><a href="{{ url('reportday') }}">Reporte del Día</a></li>
	                  <li><a href="{{ url('generatereport') }}">Reporte por Fecha</a></li>
	                  <li><a href="{{ url('histreport') }}">Histórico</a></li>
	                </ul>
	              </li>
	            </ul>
	            <div class="navbar-form pull-right">
	              <a class="btn btn-small" href="{{ url('logout') }}"><i class="icon-off"></i> Logout</a>
	            </div>
	          </div>
	        </div>
	      </div>
      </div>

      <div class="container">
        
      </div>
      @yield('content')
    </div>
    <div id="footer">
      <div class="container">
        <p class="muted credit">&copy; Kiropedic 2013 · Desarrollado por Corporación SNET C.A. | App Version {{ APP_VERSION }}</p>
      </div>
    </div>
    
    {{ HTML::script('assets/script/jquery.js') }}
    {{ HTML::script('assets/script/bootstrap.js') }}
    {{ HTML::script('assets/script/bootstrap.file-input.js') }}
    {{ HTML::script('assets/script/admin.js') }}
    <script type="text/javascript">
      $( document ).ready(function() { 
        setTimeout(function(){$('#py').fadeOut("slow", function(){ $('#java').fadeIn("quick"); }); }, 1000);
      });
    </script>

  </body>
</html>
